$OpenBSD: patch-src_common_h,v 1.2 2016/12/02 09:39:07 fcambus Exp $

Disable versioned symbols on platforms using gcc 3.x, for the toolchain does
not support them.

--- src/common.h.orig	Thu Dec  1 22:19:37 2016
+++ src/common.h	Thu Dec  1 22:18:54 2016
@@ -9,7 +9,7 @@
 #include <string.h>
 #include "xmp.h"
 
-#if defined(__GNUC__) || defined(__clang__)
+#if (defined(__GNUC__) && __GNUC__ >= 4) || defined(__clang__)
 #if !defined(WIN32) && !defined(__ANDROID__) && !defined(__APPLE__) && !defined(__AMIGA__) && !defined(B_BEOS_VERSION) && !defined(__ATHEOS__) && !defined(EMSCRIPTEN) && !defined(__MINT__) 
 #define USE_VERSIONED_SYMBOLS
 #endif
